export default {
  namespaced: true,
  state: {
    breadcrumb: '', // 面包屑
    commonQuerySearchDialogVisible: false,
    collapse: false
  },
  mutations: {
    updateCommonQuerySearchDialogVisible (state, commonQuerySearchDialogVisible) {
      state.commonQuerySearchDialogVisible = commonQuerySearchDialogVisible
    }
  },
  actions: {
    // 初始化应用
    initApp ({dispatch}) {
      dispatch('user/initUser', {}, {root: true})
      // dispatch('putbox/initPutBox', {}, {root: true})
    }
  }
}
